package com.netflix.client.config;

import java.util.Optional;
import java.util.function.BiConsumer;

public interface PropertyResolver {

    <T> Optional<T> get(String key, Class<T> type);

    void forEach(String prefix, BiConsumer<String, String> consumer);

    void onChange(Runnable action);
}
